package com.lw.extraceim.app;
/**
 * @Author : liwei
 * @Email : 1759840027@qq.com
 * @Description : 常量类，记录所需要的常量
 * @Date : 2019/4/11 10:40
 */
public class AppConstants {

    /*网络*/
    public static final String HOST_SERVER = "http://192.168.43.2:8080";
//    public static final String HOST_SERVER = "http://123.207.171.28:8080/expressTracking";

//        public static final String HOST_SERVER = "http://192.168.0.153:8080";
//    public static final String HOST_SERVER = "http://10.100.222.99:8080";
    public static final String MISC_SERVICE = HOST_SERVER + "/misc";
    public static final String DOMAIN_SERVICE = HOST_SERVER + "/domain";
    public static final String USER_SERVICE = HOST_SERVER + "/user";
    public static final String ES_SERVICE = HOST_SERVER + "/es";
    public static final String CUSTOMER_SERVICE = HOST_SERVER + "/customer";
    public static final String PACKAE_SERVICE = HOST_SERVER + "/package";
    public static final String ROUTE_SERVICE = HOST_SERVER + "/route";


    /*请求方式*/
    public static final String GET = "get";
    public static final String GET_FORM = "get_form";
    public static final String POST_JSON = "post_json";
    public static final String POST = "post";
    public static final String POST_FILE = "post_file";
    public static final String POST_FORM = "post_form";


    //返回的response的Entity值的起始字符串
    public static final String DELETED_ENTITY_HEAD = "D_";
    public static final String SAVE_ENTITY_HEAD = "R_";
    //部分response的Entity值
    public static final String ADD_ES_HEAD = "id";

    public static final String DELETED = "Deleted";


    public static final String ACTION_NEW = "new";
    public static final String ACTION_EDIT = "edit";
    public static final String ACTION_QUERY = "query";

    public static final String ACTION_EDIT_SENDER = "edit_sender";
    public static final String ACTION_EDIT_RECIVER = "edit_reciver";


    //搜索类型
    public static final String SEARCH_ES = "search_es";//搜索快件信息
    public static final String SEARCH_PACKAGE = "search_package";//搜索包裹信息

}
